{include file="comm/left"}
<body>
<div class="col-sm-6">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>商品发布</h5>
            <div class="ibox-tools">
                <a class="collapse-link">
                    <i class="fa fa-chevron-up"></i>
                </a>
            </div>
        </div>
        <div class="ibox-content">
            <form class="form-horizontal m-t" id="commentForm" action="{:url('index/admin/groupsaddfrom')}" method="post"  enctype="multipart/form-data">
                <div class="col-md-12">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">管理组名称：</label>
                        <div class="col-sm-9">
                            <input type="text" name="title" class="form-control" required="required" placeholder="请输入管理组名称">
                        </div>
                    </div>
                </div>
                <div class="mail-body">
                    <h4>选择权限：</h4>
                </div>
                <div class="mail-body">
                    <h4>商品管理权限：</h4>
                    <p>
                        {volist name="rules" id="k"}
                        {if $k.classify==1}
                        <label class="checkbox-inline">
                            <input type="checkbox" value="{$k.id}"  id="inlineCheckbox1" name="rulesid[]">{$k.title}
                        </label>
                        {/if}
                        {/volist}
                    </p>
                </div>
                <div class="mail-body">
                    <h4>订单管理权限：</h4>
                    <p>
                        {volist name="rules" id="k"}
                        {if $k.classify==2}
                        <label class="checkbox-inline">
                            <input type="checkbox" value="{$k.id}"  id="inlineCheckbox1" name="rulesid[]">{$k.title}
                        </label>
                        {/if}
                        {/volist}
                    </p>
                </div>
                <div class="mail-body">
                    <h4>评价管理权限：</h4>
                    <p>
                        {volist name="rules" id="k"}
                        {if $k.classify==3}
                        <label class="checkbox-inline">
                            <input type="checkbox" value="{$k.id}"  id="inlineCheckbox1" name="rulesid[]">{$k.title}
                        </label>
                        {/if}
                        {/volist}
                    </p>
                </div>
                <div class="mail-body">
                    <h4>代理商管理权限：</h4>
                    <p>
                        {volist name="rules" id="k"}
                        {if $k.classify==4}
                        <label class="checkbox-inline">
                            <input type="checkbox" value="{$k.id}"  id="inlineCheckbox1" name="rulesid[]">{$k.title}
                        </label>
                        {/if}
                        {/volist}
                    </p>
                </div>
                <div class="mail-body">
                    <h4>买家管理权限：</h4>
                    <p>
                        {volist name="rules" id="k"}
                        {if $k.classify==5}
                        <label class="checkbox-inline">
                            <input type="checkbox" value="{$k.id}"  id="inlineCheckbox1" name="rulesid[]">{$k.title}
                        </label>
                        {/if}
                        {/volist}
                    </p>
                </div>
                <div class="mail-body">
                    <h4>财务管理权限：</h4>
                    <p>
                        {volist name="rules" id="k"}
                        {if $k.classify==6}
                        <label class="checkbox-inline">
                            <input type="checkbox" value="{$k.id}"  id="inlineCheckbox1" name="rulesid[]">{$k.title}
                        </label>
                        {/if}
                        {/volist}
                    </p>
                </div>
                <div class="mail-body">
                    <h4>数据统计权限：</h4>
                    <p>
                        {volist name="rules" id="k"}
                        {if $k.classify==7}
                        <label class="checkbox-inline">
                            <input type="checkbox" value="{$k.id}"  id="inlineCheckbox1" name="rulesid[]">{$k.title}
                        </label>
                        {/if}
                        {/volist}
                    </p>
                </div>
                <div class="mail-body">
                    <h4>其他权限：</h4>
                    <p>
                        {volist name="rules" id="k"}
                        {if $k.classify==8}
                        <label class="checkbox-inline">
                            <input type="checkbox" value="{$k.id}"  id="inlineCheckbox1" name="rulesid[]">{$k.title}
                        </label>
                        {/if}
                        {/volist}
                    </p>
                </div>
                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-3">
                        <button class="btn btn-primary" type="submit" name="submit">确认</button>
                    </div>
                </div>
            </form>
        </div>
    </div >
</div>
</body>